package example.database.example;

import jssia.database.ColumnInfo;
import jssia.database.IndexInfo;
import jssia.database.TableInfo;
import jssia.database.mysql.columns.DecimalColumn;
import jssia.database.mysql.columns.UnsignedIntColumn;
import jssia.database.mysql.constants.IndexType;

@TableInfo ()
public final class JssiaTestInnodbTable {

    private JssiaTestInnodbTable() {
    }

    public static final String TO_STRING = "jssia_test_innodb_table";

    @ColumnInfo(nullable = false, autoIncrement = true, index = @IndexInfo(name = "primary", type = IndexType.PRIMARY, columns = {"id"}))
    public final static UnsignedIntColumn ID = new UnsignedIntColumn();

    public final static DecimalColumn DECIMAL_COL = new DecimalColumn(8, 3);
}
